package com.baitiaojun.video.service;

import com.baitiaojun.api.domain.video.VideoCollection;
import com.baitiaojun.api.exception.ConditionException;
import com.baitiaojun.api.vo.LikeCoinOperatedCollectedInfo;

import java.util.List;

/**
 * @类名 VideoCollectionService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/23 12:30
 * @版本 1.0
 */
public interface VideoCollectionService {

    void addVideoCollection(Long videoId, Long userId, Long groupId) throws Exception;

    void cancelVideoCollection(Long videoId, Long userId) throws Exception;

    LikeCoinOperatedCollectedInfo getVideoCollection(Long videoId, Long userId);

    List<VideoCollection> selectVideoCollectionByUserId(Long userId);

    void batchCancelVideoCollections(Long groupId) throws ConditionException;

    Integer isExistsVideoCollections(Long groupId);
}